package com.intelligent.ispc.core.dto;

import com.intelligent.ispc.common.dto.AbstractValueObject;

import java.util.List;

/**
 * Created by dmsoft on 2016/5/3.
 */
public class GroupDto extends AbstractValueObject {
    private Long id;
    private String name;
    private String description;
    private List<UserDto> userDtos;
    private List<ProjectDto> projectDtos;
    private boolean isAdministrator;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<UserDto> getUserDtos() {
        return userDtos;
    }

    public void setUserDtos(List<UserDto> userDtos) {
        this.userDtos = userDtos;
    }

    public List<ProjectDto> getProjectDtos() {
        return projectDtos;
    }

    public void setProjectDtos(List<ProjectDto> projectDtos) {
        this.projectDtos = projectDtos;
    }

    public boolean isAdministrator() {
        return isAdministrator;
    }

    public void setAdministrator(boolean administrator) {
        isAdministrator = administrator;
    }
}
